stylesheet <xsl:template match="全体/本文">显示的问题不明白
来源:百度知道 编辑:UC知道 时间:2024/07/07 02:16:16
2.xsl 文件
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="全体/本文">
<h1><xsl:value-of select="见出し"/></h1>
</xsl:template>
</xsl:stylesheet>
2.xml文件
<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="2.xsl"?>
<全体>
<题名>Sample02</题名>
<本文>
<见出し>复数段落を表示する</见出し>
</本文>
</全体>
显示结果:
Sample02
复数段落を表示する
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="全体/本文">
<h1><xsl:value-of select="见出し"/></h1>
</xsl:template>
</xsl:stylesheet>
2.xml文件
<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="2.xsl"?>
<全体>
<题名>Sample02</题名>
<本文>
<见出し>复数段落を表示する</见出し>
</本文>
</全体>
显示结果:
Sample02
复数段落を表示する
2.xsl 文件
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="全体/本文">
<h1><xsl:value-of select="见出し"/></h1>
</xsl:template>
</xsl:stylesheet>
2.xml文件
<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="2.xsl"?>
<全体>
<题名>Sample02</题名>
<本文>
<见出し>复数段落を表示する</见出し>
</本文>
</全体>
显示结果:
Sample02
复数段落を表示する
<link rel="stylesheet" href="intro.css">是什么意思?
html中的<link href="cs/main.css" rel="stylesheet" type="text/css">怎么解释?
<link href="/css/xueke.css" rel="stylesheet" type="text/css">
<link href:"Inc/mainCss.css" rel="stylesheet" type="text/css">是什么意思?
HTML中在<head>开头部分中<link rel="stylesheet" href="./ziti.css" type="text/css">这代码是什么意思
这行代码都代表什么意思?<link href="css/css.css" rel="stylesheet" type="text/css" />
xsl:stylesheet 可能不包含 xsl:value-of
ASP怎样修改XML中xml-stylesheet节点中的href地址?
<<<<<<<<<<<<删除记忆...
急<<<<<<<<<<<<